
/**
 * @brief
 *
 * @version  0.1
 * @author   wuxingchuang
 * @date     2024.11.23
 *          _
 *      ___| |__   ___ _ __   __ _  ___  _ __   __ _
 *     / __| '_ \ / _ \ '_ \ / _` |/ _ \| '_ \ / _` |
 *     \__ \ | | |  __/ | | | (_| | (_) | | | | (_| |
 *     |___/_| |_|\___|_| |_|\__, |\___/|_| |_|\__, |
 *                           |___/             |___/
 * @copyright (c) 2024 by 神工仿真, All Rights Reserved.
 */
#pragma once
#include "DataStructure/Common/Real.h"
#include "DataStructure/Input/Table/TABLEDObject.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN

struct TABLED4Data : public TABLEDObject
{
    SG::Algebra::Real_t Interpolate (SG::Algebra::Real_t t) const override {return 0.0;}
    struct COEFData
    {
        SG::DataStructure::Common::Real m_A = 0.0;     ///<
    };

    SG::DataStructure::Common::Real m_X1       = 0.0;  ///<
    SG::DataStructure::Common::Real m_X2       = 0.0;  ///<
    SG::DataStructure::Common::Real m_X3       = 0.0;  ///<
    SG::DataStructure::Common::Real m_X4       = 0.0;  ///<
    SG::DataStructure::Common::Id   m_domainId = 0;    ///<

    std::vector<COEFData> m_COEFList;
};

///@{ @brief operator override
DECLSPEC bool operator== (const TABLED4Data::COEFData& val1, const TABLED4Data::COEFData& val2);

DECLSPEC bool operator== (const TABLED4Data& val1, const TABLED4Data& val2);
///}@
SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE
